<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			* {
				margin: 0;
				padding: 0;
			}
		
			#myCan {
				background-color: skyblue;
			}
		</style>
	</head>
	<body>
		<canvas id="myCan" width="1000px" height="800px"></canvas>
		<script type="text/javascript">
			var oC = document.getElementById('myCan');
			var ctx = oC.getContext('2d');
			ctx.moveTo(50,50);
			// ctx.arcTo(200,200,300,50,80);
			// ctx.quadraticCurveTo(175,150,300,50);
			ctx.bezierCurveTo(100,10,300,400,500,50);
			ctx.stroke();
		</script>
	</body>
</html>
